package com.example.zhu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.zhu.entity.AddressBook;
import com.example.zhu.dto.EditAddressDTO;
import com.example.zhu.result.Result;
import com.example.zhu.vo.UserVo;

import java.util.List;

public interface AddressBookService extends IService<AddressBook> {

    Result<String> editInfo(EditAddressDTO editAddressDTO);

    UserVo getDA(Integer id);


    List<UserVo> selectAllAddress();

    void deleteAddress(Integer id);

    List<UserVo> getByPhone(String phone);

    List<UserVo> getByAreas(List<String> areas);
}
